#if !defined(AFX_EVENTLISTBOX_H__52956861_468E_11D3_84F7_444553540000__INCLUDED_)
#define AFX_EVENTLISTBOX_H__52956861_468E_11D3_84F7_444553540000__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// EventListBox.h : header file
//

#include "picturebutton.h"
/////////////////////////////////////////////////////////////////////////////
// CEventListBox window

class CEventListBox : public CListBox
{
// Construction
public:
	CEventListBox();

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CEventListBox)
	public:
	virtual void MeasureItem(LPMEASUREITEMSTRUCT lpMeasureItemStruct);
	virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
	virtual void DeleteItem(LPDELETEITEMSTRUCT lpDeleteItemStruct);
	//}}AFX_VIRTUAL

private:
	CBrush m_brPaper;
	CPtrArray m_pDay;
	CBitmap m_bmpPoint;
	int m_iFirstDay;
	int m_iTextLeftOffset;

	CPtrList m_buttonList;
// Implementation
public:
	void ResetContent(void);
//	void SetFirstDayNumber( int number );
	bool InsertItem(CString& title,  CDay *pDay);
	virtual ~CEventListBox();

	// Generated message map functions
protected:
	//{{AFX_MSG(CEventListBox)
	afx_msg HBRUSH CtlColor(CDC* pDC, UINT nCtlColor);
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_EVENTLISTBOX_H__52956861_468E_11D3_84F7_444553540000__INCLUDED_)
